package org.jeecg.modules.param.member.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 会员退卡报表
 * @Author: jeecg-boot
 * @Date:   2021-12-18
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="会员退卡报表", description="会员退卡报表")
public class BikeMemberCardLogReturnRsp implements Serializable {
    private static final long serialVersionUID = 1L;
	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**会员id*/
    @ApiModelProperty(value = "会员id")
    private String userId;
    /**会员号*/
    @Excel(name = "会员号", width = 15)
    @ApiModelProperty(value = "会员号")
    private String userCode;
    /**姓名*/
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String userName;
    /**身份证*/
    @Excel(name = "身份证", width = 15)
    @ApiModelProperty(value = "身份证")
    private String idCard;
	/**卡号*/
	@Excel(name = "卡号", width = 15)
    @ApiModelProperty(value = "卡号")
    private String cardNumber;
    /**退卡日期*/
    @Excel(name = "退卡日期", width = 15,format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "退卡日期")
    private java.util.Date createTime;
    /**操作员*/
    @Excel(name = "操作员", width = 15)
    @ApiModelProperty(value = "操作员")
    private String createBy;
    /**押金*/
    @Excel(name = "押金", width = 15)
    @ApiModelProperty(value = "押金")
    private java.math.BigDecimal cardDeposit;
    /**充值金额*/
    @Excel(name = "充值金额", width = 15)
    @ApiModelProperty(value = "充值金额")
    private java.math.BigDecimal account;
	/**卡费*/
	@Excel(name = "卡费", width = 15)
    @ApiModelProperty(value = "卡费")
    private java.math.BigDecimal cardFee;
    /**退卡合计*/
    @Excel(name = "退卡合计", width = 15)
    @ApiModelProperty(value = "退卡合计")
    private java.math.BigDecimal returnSum;
    /**卡类型*/
    @Excel(name = "卡类型", width = 15,dicCode = "card_type")
    @ApiModelProperty(value = "卡类型")
    @Dict(dicCode = "card_type")
    private String cardType;


}
